package com.kqb.autoconfigure;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author 杉果树皮
 * @date 2025/2/12 17:13
 * @description:
 */
@ConfigurationProperties(prefix = "token")
@AllArgsConstructor
@Data
@NoArgsConstructor
public class TokenProperties {

    String secret = "abcdefg";// 生成token的密钥

    long validTime = 30 * 60 * 1000; //默认有效时间
}
